package cn.wolfcode.shop.cloud.mq;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class MQCounts {
    public static final String CREATE_ORDER="CREATE_ORDER";//主题


    public static final String CREATE_ORDER_GROUP="CREATE_ORDER_GROUP";//组名
    public static final String CREATE_ORDER_TAG="CREATE_ORDER_TAG";//标签
    public static final String CREATE_ORDER_DEST=CREATE_ORDER+":"+CREATE_ORDER_TAG;//目的地

    //订单成功操作
    public static final String ORDER_SUCCESS_GROUP="ORDER_SUCCESS_GROUP";//组名
    public static final String ORDER_SUCCESS_TAG="ORDER_SUCCESS_TAG";//标签
    public static final String ORDER_SUCCESS_DEST=CREATE_ORDER+":"+ORDER_SUCCESS_TAG;//目的地

    //订单失败操作
    public static final String ORDER_FAIL_GROUP="ORDER_FAIL_GROUP";//组名
    public static final String ORDER_FAIL_TAG="ORDER_FAIL_TAG";//标签
    public static final String ORDER_FAIL_DEST=CREATE_ORDER+":"+ORDER_FAIL_TAG;//目的地

    //订单延时操作
    public static final String ORDER_SUCCESS_DELAY_GROUP="ORDER_SUCCESS_DELAY_GROUP";//组名
    public static final String ORDER_SUCCESS_DELAY_TAG="ORDER_SUCCESS_DELAY_TAG";//标签
    public static final String ORDER_SUCCESS_DELAY_DEST=CREATE_ORDER+":"+ORDER_SUCCESS_DELAY_TAG;//目的地

    //订单广播操作
    public static final String ORDER_BROUND_GROUP="ORDER_BROUND_GROUP";//组名
    public static final String ORDER_BROUND_TAG="ORDER_BROUND_TAG";//标签
    public static final String ORDER_BROUND_DEST=CREATE_ORDER+":"+ORDER_BROUND_TAG;//目的地


}
